package com.t5;

/**
 * Created by xuyiwei on 2018/7/14.
 */
public class T5_7_17 {

    private String s1;

    public T5_7_17(String s1) {
        this.s1 = s1;
        System.out.println("进入了构造方法");
    }

    public String getS1() {
        return s1;
    }

    public void setS1(String s1) {
        this.s1 = s1;
    }

    public static void main(String[] args) {
        T5_7_17[] a = new T5_7_17[10];
        //只会初始化数组 不会给数组指向对象
        a[0] = new T5_7_17("1");
     }
}
